package org.wk.abstrct;

class Book{

protected int getPrice(){
return 30;
}
}

public class ComputerBook extends Book{
//    protected float getPrice(){};

//    protected int getPrice(int page){};

//    int getPrice(){};

    @Override
    public int getPrice(){return 10;}
}
